package edu.jd.movieplatform.user.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class OrderDto {
    private String cust_username;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date order_time;
    private Integer mov_id;
    private Integer cnm_hall_id;
    private Integer cnm_id;
    private Integer order_num;
    private String mov_name;
    private Float price;
    private Integer seat_row;
    private Integer seat_column;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date screen_time;

    public Integer getOrder_num() {
        return order_num;
    }

    public void setOrder_num(Integer order_num) {
        this.order_num = order_num;
    }

    public String  getCust_username() {
        return cust_username;
    }

    public void setCust_username(String cust_username) {
        this.cust_username = cust_username;
    }

    public Date getOrder_time() {
        return order_time;
    }

    public void setOrder_time(Date order_time) {
        this.order_time = order_time;
    }

    public Integer getMov_id() {
        return mov_id;
    }

    public void setMov_id(Integer mov_id) {
        this.mov_id = mov_id;
    }

    public Integer getCnm_hall_id() {
        return cnm_hall_id;
    }

    public void setCnm_hall_id(Integer cnm_hall_id) {
        this.cnm_hall_id = cnm_hall_id;
    }

    public Integer getCnm_id() {
        return cnm_id;
    }

    public void setCnm_id(Integer cnm_id) {
        this.cnm_id = cnm_id;
    }

    public String getMov_name() {
        return mov_name;
    }

    public void setMov_name(String mov_name) {
        this.mov_name = mov_name;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getSeat_row() {
        return seat_row;
    }

    public void setSeat_row(Integer seat_row) {
        this.seat_row = seat_row;
    }

    public Integer getSeat_column() {
        return seat_column;
    }

    public void setSeat_column(Integer seat_column) {
        this.seat_column = seat_column;
    }

    public Date getScreen_time() {
        return screen_time;
    }

    public void setScreen_time(Date screen_time) {
        this.screen_time = screen_time;
    }
}
